package d1208.Ljs2.Ljs11;

import java.io.FileWriter;
import java.util.Properties;

public class Demo {
    public static void main(String[] args) throws Exception{
        Properties properties = new Properties();
        properties.setProperty("uid","001");
        properties.setProperty("username","jack");
        properties.setProperty("password","123");
        FileWriter fileWriter = new FileWriter("E:\\代码\\代码练习和作业\\Zuoye12月6号\\src\\Ljs2\\Ljs11\\t4.properties");
        properties.store(fileWriter,"噜噜噜");
        fileWriter.close();
    }
}
